package com.woniuxy.dao;

import com.woniuxy.entity.ResponseEntity;
import com.woniuxy.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@Mapper
public interface RbacRoleDao {
    String findByRbacManager(String username);

    List<Role> findAllRole(int currentPage,int pageSize);

    List<Integer> checkedRole(int roleId);

    int saveChangeMenus(int roleId, List menus);

    int delete(int roleId);
}
